package org.farm.common.response;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2025/4/8
 * @description
 */
@Data
@Accessors(chain = true)
public class Page<T> implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private int current;

    private int pageSize;

    private int total;

    private int pages;

    private List<T> records;

}
